#include "usart2_receive.h"

void Sys_Usart2RecMessage(void)  
{
    if(Usart2ReadFlag&0x8000)
	{
        Sys_Usart2SendStr("uart2:");
        Sys_Usart2SendData(Usart2ReadBuf,(Usart2ReadFlag&(~(1<<15))));
        
		Usart2ReadFlag = 0;
		memset((void *)Usart2ReadBuf,0,sizeof(Usart2ReadBuf));
	}
}














